import request from '@/utils/request'
// 短剧列表
export function GET_mini_app_playlet_index(data) {
  return request({
    url: '/admin/mini_app_playlet/index',
    method: 'post',
    data: data
  })
}
// 短剧详情

export function POST_mini_app_playlet_details(data) {
  return request({
    url: '/admin/mini_app_playlet/details',
    method: 'post',
    data: data
  })
}

// 短剧上下架
export function UPDATA_mini_app_playlet_status(data) {
  return request({
    url: '/admin/mini_app_playlet/status',
    method: 'post',
    data: data
  })
}

// 上级短剧

export function POST_mini_app_playlet_save(data) {
  return request({
    url: '/admin/mini_app_playlet/save',
    method: 'post',
    data: data
  })
}

// 付费设置
export function POST_mini_app_playlet_paymentSave(data) {
  return request({
    url: '/admin/mini_app_playlet/paymentSave',
    method: 'post',
    data: data
  })
}

// 排行列表

export function POST_mini_app_playlet_rankIndex(data) {
  return request({
    url: '/admin/mini_app_playlet/rankIndex',
    method: 'post',
    data: data
  })
}

// 排行排序
export function POST_mini_app_playlet_rankSort(data) {
  return request({
    url: '/admin/mini_app_playlet/rankSort',
    method: 'post',
    data: data
  })
}

// 排行删除
export function DELET_mini_app_playlet_rankDel(data) {
  return request({
    url: '/admin/mini_app_playlet/rankDel',
    method: 'post',
    data: data
  })
}

// 排行保存
export function POST_mini_app_playlet_rankSave(data) {
  return request({
    url: '/admin/mini_app_playlet/rankSave',
    method: 'post',
    data: data
  })
}

// 排行状态

export function POST_mini_app_playlet_rankStatus(data) {
  return request({
    url: '/admin/mini_app_playlet/rankStatus',
    method: 'post',
    data: data
  })
}

// 轮播图列表
export function POST_mini_app_playlet_rollImageIndex(data) {
  return request({
    url: '/admin/mini_app_playlet/rollImageIndex',
    method: 'post',
    data: data
  })
}

// 轮播图保存

export function POST_mini_app_playlet_rollImageSave(data) {
  return request({
    url: '/admin/mini_app_playlet/rollImageSave',
    method: 'post',
    data: data
  })
}

// 轮播图排序

export function POST_mini_app_playlet_rollImageSort(data) {
  return request({
    url: '/admin/mini_app_playlet/rollImageSort',
    method: 'post',
    data: data
  })
}

// 轮播图删除

export function DELET_mini_app_playlet_rollImageDel(data) {
  return request({
    url: '/admin/mini_app_playlet/rollImageDel',
    method: 'post',
    data: data
  })
}

// 轮播图状态

export function POST_mini_app_playlet_rollImageStatus(data) {
  return request({
    url: '/admin/mini_app_playlet/rollImageStatus',
    method: 'post',
    data: data
  })
}

// 热门列表

export function POST_mini_app_playlet_popularIndex(data) {
  return request({
    url: '/admin/mini_app_playlet/popularIndex',
    method: 'post',
    data: data
  })
}

// 热门排序

export function POST_mini_app_playlet_popularSort(data) {
  return request({
    url: '/admin/mini_app_playlet/popularSort',
    method: 'post',
    data: data
  })
}

// 热门删除

export function DELET_mini_app_playlet_popularDel(data) {
  return request({
    url: '/admin/mini_app_playlet/popularDel',
    method: 'post',
    data: data
  })
}

// 热门状态

export function POST_mini_app_playlet_popularStatus(data) {
  return request({
    url: '/admin/mini_app_playlet/popularStatus',
    method: 'post',
    data: data
  })
}

// 热门保存

export function POST_mini_app_playlet_popularSave(data) {
  return request({
    url: '/admin/mini_app_playlet/popularSave',
    method: 'post',
    data: data
  })
}

// 生成推广链接

export function POST_mini_app_playlet_promotionalLinks(data) {
  return request({
    url: '/admin/mini_app_playlet/promotionalLinks',
    method: 'post',
    data: data
  })
}

// 获取播放链接

export function POST_sys_playlet_Play(data) {
  return request({
    url: '/admin/sys_playlet/play',
    method: 'post',
    data: data
  })
}
// 修改展示位置
export function hidePlaylet(data) {
  return request({
    url: '/admin/mini_app_playlet/hidePlaylet',
    method: 'post',
    data: data
  })
}

/** -------------- 推荐设置 -----------------**/
// 首页
export function recommendIndex(data) {
  return request({
    url: '/admin/mini_app_playlet/recommendIndex',
    method: 'post',
    data: data
  })
}
// 保存
export function recommendSave(data) {
  return request({
    url: '/admin/mini_app_playlet/recommendSave',
    method: 'post',
    data: data
  })
}
// 状态保存
export function recommendStatus(data) {
  return request({
    url: '/admin/mini_app_playlet/recommendStatus',
    method: 'post',
    data: data
  })
}

// 推荐排序
export function recommendSort(data) {
  return request({
    url: '/admin/mini_app_playlet/recommendSort',
    method: 'post',
    data: data
  })
}
// 推荐删除
export function recommendDel(data) {
  return request({
    url: '/admin/mini_app_playlet/recommendDel',
    method: 'post',
    data: data
  })
}

// 获取剧集提审材料
export function getCheckInfo(data) {
  return request({
    url: '/admin/mini_app_playlet/getCheckInfo',
    method: 'post',
    data: data
  })
}

// 提交审核
export function checkPlaylet(data) {
  return request({
    url: '/admin/mini_app_playlet/checkPlaylet',
    method: 'post',
    data: data
  })
}

// 上架栏位保存
export function listingField(data) {
  return request({
    url: '/admin/mini_app_playlet/listingField',
    method: 'post',
    data: data
  })
}

// 生成投放/运营推广链接

export function promotionalLinks(data) {
  return request({
    url: '/admin/mini_app_playlet/promotionalLinks',
    method: 'post',
    data: data
  })
}

// 审核失败原因
export function checkFailReason(data) {
  return request({
    url: '/admin/mini_app_playlet/checkFailReason',
    method: 'post',
    data: data
  })
}
